# -*- coding: utf-8 -*-
# @Time    : 2022/6/26 17:14
# @Author  : 我还能卷
# @FileName: config.py
# @Software: PyCharm
import pathlib


class config:
    HOST = 'http://47.115.15.198:7001/smarthome/'
    # CONFIG_DIR = pathlib.Path('.').absolute()

    CONFIG_FILE = pathlib.Path(__file__).absolute()
    CONFIG_DIR = CONFIG_FILE.parent

    # 项目的根目录
    ROOT = CONFIG_DIR
    # 测试用例的路径
    CASE_FILE = ROOT / 'data' / 'smarthome_tesscases.xlsx'
    # 日志存储的路径
    LOG_FILE = ROOT / 'logs' / 'smarthome_API.log'
